package com.example.firstapp.storeData

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.firstapp.R
import com.example.firstapp.databinding.ActivityStoreDataBinding
import com.example.firstapp.storeData.SQLite.SQLiteActivity

class StoreDataActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_store_data)
        val binding = ActivityStoreDataBinding.inflate(layoutInflater)
        setContentView(binding.root)

        binding.intent2storeData1.setOnClickListener {
            intent = Intent(this, storeData1::class.java)
            startActivity(intent)
        }
        binding.intent2storeData2.setOnClickListener {
            intent = Intent(this, storeData2SharedPreferences::class.java)
            startActivity(intent)
        }
        binding.intent2storeData21.setOnClickListener {
            intent = Intent(this, storeData2rememberPass::class.java)
            startActivity(intent)
        }
        binding.intent2SQLite.setOnClickListener {
            intent = Intent(this, SQLiteActivity::class.java)
            startActivity(intent)
        }
    }
}